<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<style>
<!--
#description {
	margin-top: 10%;
	min-height: 20px;
}

.box-heading {
	background-color: #8ebda2;
}

#box-heading {
	background-image: url('catalog/view/theme/mobile/image/title_back.jpg');
	background-repeat: no repeat;
	height: 44px;
	padding-left: 80px;
	line-height: 44px;
	color: #ffffff;
}
-->
</style>

<div class="box">
	<div id="box-heading">位置信息查询</div>
	<div id="content">
	<?php echo $content_top; ?>

		<div
			style="background-image: url('catalog/view/theme/mobile/image/article_back.png')">
			<div id="description" class="content">
			<?php if($placeName){?>
			<?php echo $placeName; ?>
			<?php }else{?>
				<div style="text-align:center;margin-bottom:50px;">
				没有找到相匹配的位置信息或超过服务区
				</div>
			<?php }?>
			</div>
			
				
			<!-- 
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_continue; ?></a></div>
  </div>
   -->
		</div>
		<?php if(!$placeName){?>
			<?php foreach ($cardManages as $cardManage) { ?>
				<table class="list">
					<caption><strong><?php echo $cardManage['so']?>__<?php echo $cardManage['police_station'];?>__<?php echo $cardManage['police_office'];?></strong></caption>
					<thead>
						<tr>
							<th width="10%">受理点详细地址</th>
							<th width="10%">固定电话</th>
							<th width="10%">责任民警</th>
							<th width="10%">联系电话</th>
							<th width="10%">责任警辅</th>
							<th width="10%">联系电话</th>
						</tr>
					</thead>
					
					<tr>
						<td width="10%"><?php echo $cardManage['address'];?></td>
						<td width="10%"><?php echo $cardManage['dianhua'];?></td>
						<?php if($cardManage['police']){?>
							<td width="10%"><?php echo $cardManage['police']['title'];?></td>
							<td width="10%"><?php echo $cardManage['police']['phone_num'];?></td>
						<?php }else{?>
							<td width="10%"><?php echo '';?></td>
							<td width="10%"><?php echo '';?></td>
						<?php }?>
						
						<?php if($cardManage['assistant_police']){?>
							<td width="10%"><?php echo $cardManage['assistant_police']['title'];?></td>
						<td width="10%"><?php echo $cardManage['assistant_police']['phone_num'];?></td>	
						<?php }else{?>
							<td width="10%"><?php echo '';?></td>
							<td width="10%"><?php echo '';?></td>
						<?php }?>
						
					</tr>
				</table>
					<?php	}?>
				<?php }?>
	</div>
	<?php echo $content_bottom; ?>
</div>
<?php echo $footer;?>

